package br.com.gsh.conexao;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConexaoFactory {
	public Connection getConexao(){
		try {
			return DriverManager.getConnection("jdbc:postgresql://localhost:5432/twitter", "postgres", "123");
		} catch (SQLException e) {
			throw new RuntimeException(e);
		}
	}
	
	
}

